package com.caishi.lkx.course.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;


@Schema(title = "视频笔记")
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "kc_video_note", autoResultMap = true)
public class VideoNoteModel extends BaseEntity<VideoNoteModel> {

    @Schema(title = "0.不公开， 1公开")
    private Boolean open;

    @Schema(title = "关联id")
    private String relationId;

    @Schema(title = "关联名")
    private String relationName;

    @Schema(title = "内容")
    private String content;

    @Schema(title = "是否审核， 0.未审 1.审核通过 2审核不通过 3自动通过")
    private Integer verify;

    @Schema(title = "视频本身id")
    private String videoId;

    @Schema(title = "科目id")
    private String categoryId;

    @Schema(title = "发布者名")
    private String createName;

    @Schema(title = "发布者头像")
    private String createHeader;

}
